package com.kjtpay.design_pattern.adapter;

class Center extends Player {
    public Center(String name) {
        super(name);
    }

    @Override
    public void attack() {
        action = "中锋" + name + "进攻";
    }

    @Override
    public void defence() {
        action = "中锋" + name + "防守";
    }
}
